﻿using System;
using System.Runtime.InteropServices;

namespace Netbits.Common.General
{
	internal static class NativeMethods
	{
		[DllImport( "kernel32.dll" )]
		internal static extern IntPtr GetCurrentThread();
		[DllImport( "kernel32.dll", CharSet = CharSet.Auto, SetLastError = true )]
		internal static extern bool GetThreadTimes( IntPtr Handle_, out long Creation_, out long Exit_, out long Kernel_, out long User_ );
	}
}
